#2 GOLD STARS

#Define a procedure,
#print_multiplication_table,
#that takes as input a positive whole
#number, and prints out a multiplication,
#table showing all the whole number
#multiplications up to and including the
#input number. The order in which the
#equations are printed must match exactly.

#print_multiplication_table(2)
#1 * 1 = 1
#1 * 2 = 2
#2 * 1 = 2
#2 * 2 = 4

def print_multiplication_table( n ):
    f = 1
    s = 1
    while f <= n:
        while s <= n:
            print f, "*", s, "=", f * s
            s = s + 1
        f = f + 1
        s = 1

print_multiplication_table( 8 )
